package com.bwie.spike.fegin;

import com.bwie.common.utils.R;
import com.bwie.spike.entity.UserTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description 添加描述
 * @InterfaceName UserFegin
 * @Author 李奉武
 * @Motto 逆水行舟, 不进则退
 * @LastChangeDate 2022/2/24 22:29
 * @Version v1.0
 */
@FeignClient("user")
public interface UserFegin {
    @RequestMapping("user/user/save")
    R save(@RequestBody UserTo user);
}
